package com.lwlk.zdk.model.pw;

import java.util.ArrayList;
import java.util.List;

public class pwVehicleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public pwVehicleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andVehicleIdIsNull() {
            addCriterion("vehicle_id is null");
            return (Criteria) this;
        }

        public Criteria andVehicleIdIsNotNull() {
            addCriterion("vehicle_id is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleIdEqualTo(Integer value) {
            addCriterion("vehicle_id =", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdNotEqualTo(Integer value) {
            addCriterion("vehicle_id <>", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdGreaterThan(Integer value) {
            addCriterion("vehicle_id >", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("vehicle_id >=", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdLessThan(Integer value) {
            addCriterion("vehicle_id <", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdLessThanOrEqualTo(Integer value) {
            addCriterion("vehicle_id <=", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdIn(List<Integer> values) {
            addCriterion("vehicle_id in", values, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdNotIn(List<Integer> values) {
            addCriterion("vehicle_id not in", values, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdBetween(Integer value1, Integer value2) {
            addCriterion("vehicle_id between", value1, value2, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("vehicle_id not between", value1, value2, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberIsNull() {
            addCriterion("vehicle_number is null");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberIsNotNull() {
            addCriterion("vehicle_number is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberEqualTo(String value) {
            addCriterion("vehicle_number =", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberNotEqualTo(String value) {
            addCriterion("vehicle_number <>", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberGreaterThan(String value) {
            addCriterion("vehicle_number >", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberGreaterThanOrEqualTo(String value) {
            addCriterion("vehicle_number >=", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberLessThan(String value) {
            addCriterion("vehicle_number <", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberLessThanOrEqualTo(String value) {
            addCriterion("vehicle_number <=", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberLike(String value) {
            addCriterion("vehicle_number like", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberNotLike(String value) {
            addCriterion("vehicle_number not like", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberIn(List<String> values) {
            addCriterion("vehicle_number in", values, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberNotIn(List<String> values) {
            addCriterion("vehicle_number not in", values, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberBetween(String value1, String value2) {
            addCriterion("vehicle_number between", value1, value2, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberNotBetween(String value1, String value2) {
            addCriterion("vehicle_number not between", value1, value2, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andSimIsNull() {
            addCriterion("sim is null");
            return (Criteria) this;
        }

        public Criteria andSimIsNotNull() {
            addCriterion("sim is not null");
            return (Criteria) this;
        }

        public Criteria andSimEqualTo(String value) {
            addCriterion("sim =", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimNotEqualTo(String value) {
            addCriterion("sim <>", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimGreaterThan(String value) {
            addCriterion("sim >", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimGreaterThanOrEqualTo(String value) {
            addCriterion("sim >=", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimLessThan(String value) {
            addCriterion("sim <", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimLessThanOrEqualTo(String value) {
            addCriterion("sim <=", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimLike(String value) {
            addCriterion("sim like", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimNotLike(String value) {
            addCriterion("sim not like", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimIn(List<String> values) {
            addCriterion("sim in", values, "sim");
            return (Criteria) this;
        }

        public Criteria andSimNotIn(List<String> values) {
            addCriterion("sim not in", values, "sim");
            return (Criteria) this;
        }

        public Criteria andSimBetween(String value1, String value2) {
            addCriterion("sim between", value1, value2, "sim");
            return (Criteria) this;
        }

        public Criteria andSimNotBetween(String value1, String value2) {
            addCriterion("sim not between", value1, value2, "sim");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorIsNull() {
            addCriterion("vehicle_license_color is null");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorIsNotNull() {
            addCriterion("vehicle_license_color is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorEqualTo(String value) {
            addCriterion("vehicle_license_color =", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNotEqualTo(String value) {
            addCriterion("vehicle_license_color <>", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorGreaterThan(String value) {
            addCriterion("vehicle_license_color >", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorGreaterThanOrEqualTo(String value) {
            addCriterion("vehicle_license_color >=", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorLessThan(String value) {
            addCriterion("vehicle_license_color <", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorLessThanOrEqualTo(String value) {
            addCriterion("vehicle_license_color <=", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorLike(String value) {
            addCriterion("vehicle_license_color like", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNotLike(String value) {
            addCriterion("vehicle_license_color not like", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorIn(List<String> values) {
            addCriterion("vehicle_license_color in", values, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNotIn(List<String> values) {
            addCriterion("vehicle_license_color not in", values, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorBetween(String value1, String value2) {
            addCriterion("vehicle_license_color between", value1, value2, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNotBetween(String value1, String value2) {
            addCriterion("vehicle_license_color not between", value1, value2, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(Integer value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(Integer value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(Integer value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(Integer value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(Integer value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<Integer> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<Integer> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(Integer value1, Integer value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdIsNull() {
            addCriterion("industry_id is null");
            return (Criteria) this;
        }

        public Criteria andIndustryIdIsNotNull() {
            addCriterion("industry_id is not null");
            return (Criteria) this;
        }

        public Criteria andIndustryIdEqualTo(Integer value) {
            addCriterion("industry_id =", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdNotEqualTo(Integer value) {
            addCriterion("industry_id <>", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdGreaterThan(Integer value) {
            addCriterion("industry_id >", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("industry_id >=", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdLessThan(Integer value) {
            addCriterion("industry_id <", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdLessThanOrEqualTo(Integer value) {
            addCriterion("industry_id <=", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdIn(List<Integer> values) {
            addCriterion("industry_id in", values, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdNotIn(List<Integer> values) {
            addCriterion("industry_id not in", values, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdBetween(Integer value1, Integer value2) {
            addCriterion("industry_id between", value1, value2, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("industry_id not between", value1, value2, "industryId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIsNull() {
            addCriterion("platform_id is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIsNotNull() {
            addCriterion("platform_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdEqualTo(Integer value) {
            addCriterion("platform_id =", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotEqualTo(Integer value) {
            addCriterion("platform_id <>", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdGreaterThan(Integer value) {
            addCriterion("platform_id >", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform_id >=", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdLessThan(Integer value) {
            addCriterion("platform_id <", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdLessThanOrEqualTo(Integer value) {
            addCriterion("platform_id <=", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIn(List<Integer> values) {
            addCriterion("platform_id in", values, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotIn(List<Integer> values) {
            addCriterion("platform_id not in", values, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdBetween(Integer value1, Integer value2) {
            addCriterion("platform_id between", value1, value2, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotBetween(Integer value1, Integer value2) {
            addCriterion("platform_id not between", value1, value2, "platformId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdIsNull() {
            addCriterion("administration_orgniaztion_id is null");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdIsNotNull() {
            addCriterion("administration_orgniaztion_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdEqualTo(Integer value) {
            addCriterion("administration_orgniaztion_id =", value, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdNotEqualTo(Integer value) {
            addCriterion("administration_orgniaztion_id <>", value, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdGreaterThan(Integer value) {
            addCriterion("administration_orgniaztion_id >", value, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("administration_orgniaztion_id >=", value, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdLessThan(Integer value) {
            addCriterion("administration_orgniaztion_id <", value, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdLessThanOrEqualTo(Integer value) {
            addCriterion("administration_orgniaztion_id <=", value, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdIn(List<Integer> values) {
            addCriterion("administration_orgniaztion_id in", values, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdNotIn(List<Integer> values) {
            addCriterion("administration_orgniaztion_id not in", values, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdBetween(Integer value1, Integer value2) {
            addCriterion("administration_orgniaztion_id between", value1, value2, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andAdministrationOrgniaztionIdNotBetween(Integer value1, Integer value2) {
            addCriterion("administration_orgniaztion_id not between", value1, value2, "administrationOrgniaztionId");
            return (Criteria) this;
        }

        public Criteria andClientcodeIsNull() {
            addCriterion("clientCode is null");
            return (Criteria) this;
        }

        public Criteria andClientcodeIsNotNull() {
            addCriterion("clientCode is not null");
            return (Criteria) this;
        }

        public Criteria andClientcodeEqualTo(String value) {
            addCriterion("clientCode =", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotEqualTo(String value) {
            addCriterion("clientCode <>", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeGreaterThan(String value) {
            addCriterion("clientCode >", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeGreaterThanOrEqualTo(String value) {
            addCriterion("clientCode >=", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLessThan(String value) {
            addCriterion("clientCode <", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLessThanOrEqualTo(String value) {
            addCriterion("clientCode <=", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLike(String value) {
            addCriterion("clientCode like", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotLike(String value) {
            addCriterion("clientCode not like", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeIn(List<String> values) {
            addCriterion("clientCode in", values, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotIn(List<String> values) {
            addCriterion("clientCode not in", values, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeBetween(String value1, String value2) {
            addCriterion("clientCode between", value1, value2, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotBetween(String value1, String value2) {
            addCriterion("clientCode not between", value1, value2, "clientcode");
            return (Criteria) this;
        }

        public Criteria andNetworkStateIsNull() {
            addCriterion("network_state is null");
            return (Criteria) this;
        }

        public Criteria andNetworkStateIsNotNull() {
            addCriterion("network_state is not null");
            return (Criteria) this;
        }

        public Criteria andNetworkStateEqualTo(String value) {
            addCriterion("network_state =", value, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateNotEqualTo(String value) {
            addCriterion("network_state <>", value, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateGreaterThan(String value) {
            addCriterion("network_state >", value, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateGreaterThanOrEqualTo(String value) {
            addCriterion("network_state >=", value, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateLessThan(String value) {
            addCriterion("network_state <", value, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateLessThanOrEqualTo(String value) {
            addCriterion("network_state <=", value, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateLike(String value) {
            addCriterion("network_state like", value, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateNotLike(String value) {
            addCriterion("network_state not like", value, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateIn(List<String> values) {
            addCriterion("network_state in", values, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateNotIn(List<String> values) {
            addCriterion("network_state not in", values, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateBetween(String value1, String value2) {
            addCriterion("network_state between", value1, value2, "networkState");
            return (Criteria) this;
        }

        public Criteria andNetworkStateNotBetween(String value1, String value2) {
            addCriterion("network_state not between", value1, value2, "networkState");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdIsNull() {
            addCriterion("business_households_id is null");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdIsNotNull() {
            addCriterion("business_households_id is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdEqualTo(Integer value) {
            addCriterion("business_households_id =", value, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdNotEqualTo(Integer value) {
            addCriterion("business_households_id <>", value, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdGreaterThan(Integer value) {
            addCriterion("business_households_id >", value, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("business_households_id >=", value, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdLessThan(Integer value) {
            addCriterion("business_households_id <", value, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdLessThanOrEqualTo(Integer value) {
            addCriterion("business_households_id <=", value, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdIn(List<Integer> values) {
            addCriterion("business_households_id in", values, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdNotIn(List<Integer> values) {
            addCriterion("business_households_id not in", values, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdBetween(Integer value1, Integer value2) {
            addCriterion("business_households_id between", value1, value2, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andBusinessHouseholdsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("business_households_id not between", value1, value2, "businessHouseholdsId");
            return (Criteria) this;
        }

        public Criteria andProduceIdIsNull() {
            addCriterion("produce_id is null");
            return (Criteria) this;
        }

        public Criteria andProduceIdIsNotNull() {
            addCriterion("produce_id is not null");
            return (Criteria) this;
        }

        public Criteria andProduceIdEqualTo(String value) {
            addCriterion("produce_id =", value, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdNotEqualTo(String value) {
            addCriterion("produce_id <>", value, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdGreaterThan(String value) {
            addCriterion("produce_id >", value, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdGreaterThanOrEqualTo(String value) {
            addCriterion("produce_id >=", value, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdLessThan(String value) {
            addCriterion("produce_id <", value, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdLessThanOrEqualTo(String value) {
            addCriterion("produce_id <=", value, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdLike(String value) {
            addCriterion("produce_id like", value, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdNotLike(String value) {
            addCriterion("produce_id not like", value, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdIn(List<String> values) {
            addCriterion("produce_id in", values, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdNotIn(List<String> values) {
            addCriterion("produce_id not in", values, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdBetween(String value1, String value2) {
            addCriterion("produce_id between", value1, value2, "produceId");
            return (Criteria) this;
        }

        public Criteria andProduceIdNotBetween(String value1, String value2) {
            addCriterion("produce_id not between", value1, value2, "produceId");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeIsNull() {
            addCriterion("terminal_model_type is null");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeIsNotNull() {
            addCriterion("terminal_model_type is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeEqualTo(String value) {
            addCriterion("terminal_model_type =", value, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeNotEqualTo(String value) {
            addCriterion("terminal_model_type <>", value, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeGreaterThan(String value) {
            addCriterion("terminal_model_type >", value, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeGreaterThanOrEqualTo(String value) {
            addCriterion("terminal_model_type >=", value, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeLessThan(String value) {
            addCriterion("terminal_model_type <", value, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeLessThanOrEqualTo(String value) {
            addCriterion("terminal_model_type <=", value, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeLike(String value) {
            addCriterion("terminal_model_type like", value, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeNotLike(String value) {
            addCriterion("terminal_model_type not like", value, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeIn(List<String> values) {
            addCriterion("terminal_model_type in", values, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeNotIn(List<String> values) {
            addCriterion("terminal_model_type not in", values, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeBetween(String value1, String value2) {
            addCriterion("terminal_model_type between", value1, value2, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalModelTypeNotBetween(String value1, String value2) {
            addCriterion("terminal_model_type not between", value1, value2, "terminalModelType");
            return (Criteria) this;
        }

        public Criteria andTerminalIdIsNull() {
            addCriterion("terminal_id is null");
            return (Criteria) this;
        }

        public Criteria andTerminalIdIsNotNull() {
            addCriterion("terminal_id is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalIdEqualTo(String value) {
            addCriterion("terminal_id =", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdNotEqualTo(String value) {
            addCriterion("terminal_id <>", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdGreaterThan(String value) {
            addCriterion("terminal_id >", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdGreaterThanOrEqualTo(String value) {
            addCriterion("terminal_id >=", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdLessThan(String value) {
            addCriterion("terminal_id <", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdLessThanOrEqualTo(String value) {
            addCriterion("terminal_id <=", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdLike(String value) {
            addCriterion("terminal_id like", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdNotLike(String value) {
            addCriterion("terminal_id not like", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdIn(List<String> values) {
            addCriterion("terminal_id in", values, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdNotIn(List<String> values) {
            addCriterion("terminal_id not in", values, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdBetween(String value1, String value2) {
            addCriterion("terminal_id between", value1, value2, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdNotBetween(String value1, String value2) {
            addCriterion("terminal_id not between", value1, value2, "terminalId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdIsNull() {
            addCriterion("car_type_id is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdIsNotNull() {
            addCriterion("car_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdEqualTo(Integer value) {
            addCriterion("car_type_id =", value, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdNotEqualTo(Integer value) {
            addCriterion("car_type_id <>", value, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdGreaterThan(Integer value) {
            addCriterion("car_type_id >", value, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_type_id >=", value, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdLessThan(Integer value) {
            addCriterion("car_type_id <", value, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("car_type_id <=", value, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdIn(List<Integer> values) {
            addCriterion("car_type_id in", values, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdNotIn(List<Integer> values) {
            addCriterion("car_type_id not in", values, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("car_type_id between", value1, value2, "carTypeId");
            return (Criteria) this;
        }

        public Criteria andCarTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("car_type_id not between", value1, value2, "carTypeId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}